// mypage/accSetting/accSetting.js


Page({
  /*页面的初始数据*/
  data: {
    set_list:[{title:'实名认证',text:'请前往认证'},{title:'支付密码',text:'修改密码'},{title:'忘记密码',text:''}],
    nav_page:["../accRealname/accRealname","../accPaypassword/accPaypassword","../accVerify/accVerify"]
  },
  /*生命周期函数--监听页面加载*/
  onLoad: function (options) {

  },
  nav_page:function(e){
    var that = this,nav_page=that.data.nav_page;
    var index=e.currentTarget.dataset.index;
    if(index==1){
      wx.navigateTo({
        url: nav_page[index]+"?type=2",
      })
    }else{
      wx.navigateTo({
        url: nav_page[index],
      })
    }
  },
 
  /*生命周期函数--监听页面初次渲染完成*/
  onReady: function () {

  },
})